package com.example.take_out_dish;

import com.example.take_out_admin_api.AdminClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/*
todo 优化jwt，通过admin微服务来实现验证
 */
//@EnableFeignClients(clients = {AdminClient.class})
@SpringBootApplication
@   EnableFeignClients(clients = {AdminClient.class})
public class TakeOutDishApplication {

    public static void main(String[] args) {
        SpringApplication.run(TakeOutDishApplication.class, args);
    }

}
